#ifndef __RUNNER_ENTITY_H__
#define __RUNNER_ENTITY_H__
#include "cocos2d.h"
USING_NS_CC;

class Entity : public Node, public ActionTweenDelegate {
public:
	Entity();
	~Entity();
	Sprite * getSprite();
	void bindSprite(Sprite* sprite);

	/**
	 * CCActionTweenDelegate
	 */
	void updateTweenAction(float value, const std::string& key) override;
private:
	Sprite* m_sprite;
};
#endif // 
